package com.ysqcould.mp.utils;

import com.ysqcould.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.Map;

import static com.ysqcould.common.utils.http.HttpUtils.sendGet;

/**
 * 采集企业信息工具类
 */
public class CollectCpInfoUtils {
    private static final Map<String,String>C_URL=new HashMap<>();
    static {
        //企业搜索地址
        C_URL.put("searchUrl","keyNo=");
    }

    public static AjaxResult getCpInfo(String url){
        String param="9f356157a9339ecba3b6ae2165321622";
        String get = sendGet(url, param);
        return AjaxResult.success(get);
    }

}
